package com.zks.springbootcrud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;


@TableName("staff")
@Data
public class Staff {

    @TableId(value = "id",type = IdType.AUTO)
    private int id;

    @TableField("name")
    private String name;

    @TableField("age")
    private String age;

    @TableField("tel")
    private String tel;

    @TableField("state")
    private String state;

    //private List<Depart> departList;


}
